package cn.chengpengper.im.platform.common.model.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
/*@formatter:off*/

/**
 * ____________________
 * < 神兽护体，永无bug! >
 * --------------------
 *
 * @author huchengpeng
 * @version v1.0.0
 * @date 2024/11/23 15:25
 * @description 消息类型
 */

/*@formatter:on*/

@Getter
@AllArgsConstructor
public enum MessageType {

    TEXT(0, "文字"),
    IMAGE(1, "图片"),
    FILE(2, "文件"),
    AUDIO(3, "音频"),
    VIDEO(4, "视频"),
    RECALL(10, "撤回"),
    READED(11, "已读"),

    RTC_CALL(101, "呼叫"),
    RTC_ACCEPT(102, "接受"),
    RTC_REJECT(103, "拒绝"),
    RTC_CANCEL(104, "取消呼叫"),
    RTC_FAILED(105, "呼叫失败"),
    RTC_HANDUP(106, "挂断"),
    RTC_CANDIDATE(107, "同步candidate");

    private final Integer code;

    private final String desc;

}
